package com.damai.annotation;

/**
 * crpyt method 
 * @author Randy
 *
 */
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Crypt {
	
	public static final int UPLOAD= 1;//上行加密
	public static final int DOWNLOAD= 2;//下行加密
	public static final int BOTH = 3;//都加密
	public static int NONE = 0;
	
	
	/**
	 * 加密的类型
	 * @return
	 */
	int value() default BOTH;
}
